<template>
	<view class="w-max">
		<scroll-view scroll-x class="flex fs22 mt12 nowrap">
			<view v-for="(item,index) in list" :key="index" :class="index==0?'cyan':index==1?'yellow':'blue'"
				class="px20 py6 radius8 mr20 dib">{{item}}
			</view>
		</scroll-view>
	</view>
</template>

<script>
	export default {
		name: "types",
		props: {
			list: {
				default: ''
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">

</style>
